package com.dc.service;

import com.dc.base.vo.BaseModel;
import com.dc.model.Inventory;
import org.apache.poi.xssf.usermodel.XSSFWorkbook;

public interface InventoryService {
    // 分页查询租出信息
    BaseModel selectPageInventory(Integer curr_page, Integer page_size, BaseModel baseModel, Integer inventory_id, String flower_name);
    // 新增租出
    BaseModel addInventory(Inventory inventory, BaseModel baseModel)throws Exception;
    // 修改租出信息
    BaseModel updateInventory(Inventory inventory, BaseModel baseModel)throws Exception;
    // 删除租出信息
//    BaseModel deleteInventory(String ids, BaseModel baseModel)throws Exception;
    // 根据id查询租出信息
    BaseModel selectInventoryById(Integer inventory_id, BaseModel baseModel)throws  Exception;
//    XSSFWorkbook exportExcelInfo() throws Exception;
}
